package com.ray.test.config;

import java.util.ArrayList;
import java.util.List;

/**
 * @author bo shen
 * @Description: 默认方法
 * @Class: DefaultMothedConfig
 * @Package com.ray.test.runner
 * @date 2019/12/10 11:10
 * @company <p>杭州传化陆鲸科技有限公司</p>
 * @updateRecord time(修改时间)  author(修改人)   desc(修改内容)
 */
public class DefaultMothedConfig {
    /**默认方法*/
    private static List<String> mothedName = new ArrayList<>();

    static {
        mothedName.add("wait");
        mothedName.add("toString");
        mothedName.add("hashCode");
        mothedName.add("notify");
        mothedName.add("notifyAll");
        mothedName.add("getClass");
        mothedName.add("equals");
    }
    public static boolean isClassMethod(String name){
        return mothedName.indexOf(name)>=0;
    }

}
